package com.mp.pojo.Query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jack
 * @data 2019-08-21 20:38
 */
@Data
public class BetQuery {

    @NotNull(message="管理员账号不能为空")
    @ApiModelProperty(value = "管理员账号", example = "admin001")
    private String account;

    @NotNull(message="对应的游戏期数 不能为空")
    @ApiModelProperty(value = "对应的游戏期数", example = "20190826028")
    private String drawNumber;

    @NotNull(message="游戏code 不能为空")
    @ApiModelProperty(value = "游戏code", example = "xyft")
    private String lottery;


    @NotNull(message="下注list不能为空")
    private List<BetDetailQuery> bets;
}
